LiteLLMModels

GPT-4 32K API Pricing

As of October 10, 2026, GPT-4 32K costs $60.00 per 1M input tokens and $120.00 per 1M output tokens on Azure OpenAI. It has a 32,768-token context window and returns up to 4,096 tokens per response.

By OpenAIModel ID azure/gpt-4-32kPrices updated Checked
Deprecated: Azure OpenAI lists June 6, 2025 as the deprecation date for azure/gpt-4-32k.
Input
$60.00 / 1M tokens
Output
$120.00 / 1M tokens
Context window
32,768 tokens
Max output
4,096 tokens
Providers
1

GPT-4 32K pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Azure OpenAIazure/gpt-4-32k$60.00$120.0032K
Azure OpenAIsnapshot 0613azure/gpt-4-32k-0613$60.00$120.0032K

What GPT-4 32K costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Azure OpenAI$180.00

Use GPT-4 32K with LiteLLM

Call GPT-4 32K through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="azure/gpt-4-32k",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gpt-4-32k
    litellm_params:
      model: azure/gpt-4-32k
      api_base: os.environ/AZURE_API_BASE
      api_key: os.environ/AZURE_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "gpt-4-32k",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

GPT-4 32K FAQ

How much does GPT-4 32K cost?

GPT-4 32K costs $60.00 per 1M input tokens and $120.00 per 1M output tokens on Azure OpenAI.

What is the context window of GPT-4 32K?

GPT-4 32K has a 32,768-token context window and returns up to 4,096 tokens per response.

Which providers offer GPT-4 32K?

GPT-4 32K is available from Azure OpenAI through LiteLLM, using the model name azure/gpt-4-32k.

How do I call GPT-4 32K with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="azure/gpt-4-32k", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

Is GPT-4 32K being deprecated?

Azure OpenAI deprecated azure/gpt-4-32k on June 6, 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Azure OpenAI.

Provider pages: Azure OpenAI.