Frontier (est.) · 128k context

Azure Gpt 4o

Azure Gpt 4o. Compare provider offers, token prices, and published task evidence below.

← All models

Choose a provider

1 connected provider

Choose one API ID. Code examples, Playground and Routes use your selection.

Provider and API ID

Microsoft Azure

Connected

Model ID
azure-gpt-4o
Live· Last check:

About this model

Azure Gpt 4o. Compare provider offers, token prices, and published task evidence below.

Input price
$2.50/ 1M tokens
Neurometric
Output price
$10.00/ 1M tokens
Neurometric
Context window
128ktokens
128,000 max input
Architecture
Frontier (est.)
Frontier (est.) tier

Quick Start & OpenAI-compatible SDK usage

Call this model directly with any OpenAI-compatible SDK. Set base_url to the URL below and pass your API key. Sign up for an API key →

# pip install openai
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.taskrouter.com/v1",
    api_key=os.environ["TASKROUTER_API_KEY"],
)

reply = client.chat.completions.create(
    model="azure-gpt-4o",
    messages=[{"role": "user", "content": "Hello! How can you help me today?"}],
)
print(reply.choices[0].message.content)
Base URL: https://api.taskrouter.com/v1Header: Authorization: Bearer $TASKROUTER_API_KEY