Skip to main content

AI API Gateway Rates

The AI API Gateway service is available to all Stanford faculty, staff, and students with a valid PTA. 

Language ModelInput cost ¹ 
(Price per 1M tokens)
Output cost ¹ 
(Price per 1M tokens)
GPT 4o mini50% off standard OpenAI prices50% off standard OpenAI prices
GPT 4o50% off standard OpenAI prices50% off standard OpenAI prices
GPT o150% off standard OpenAI prices50% off standard OpenAI prices
GPT o3 mini50% off standard OpenAI prices50% off standard OpenAI prices
GPT 4.150% off standard OpenAI prices50% off standard OpenAI prices
OpenAI Text-embedding-ada-00250% off standard OpenAI prices50% off standard OpenAI prices
GPT 550% off standard OpenAI prices50% off standard OpenAI prices
GPT 5 mini50% off standard OpenAI prices50% off standard OpenAI prices
GPT 5.250% off standard OpenAI prices50% off standard OpenAI prices
GPT 5.450% off standard OpenAI prices50% off standard OpenAI prices
GPT 5.550% off standard OpenAI prices50% off standard OpenAI prices
GPT 5.6 Luna50% off standard OpenAI prices50% off standard OpenAI prices
GPT 5.6 Terra50% off standard OpenAI prices50% off standard OpenAI prices
GPT 5.6 Sol50% off standard OpenAI prices50% off standard OpenAI prices
Gemini 2.5 Pro$ 2.50$ 15.00
Gemini 2.5 Flash$ 0.30$ 2.50
Gemini 2.5 Flash Lite$ 0.10$ 0.40
Claude 4.5 Haiku50% off standard Anthropic prices50% off standard Anthropic prices
Claude 3.5 Sonnet50% off standard Anthropic prices50% off standard Anthropic prices
Claude 3.7 Sonnet50% off standard Anthropic prices50% off standard Anthropic prices
Claude 4.5 Sonnet50% off standard Anthropic prices50% off standard Anthropic prices
Claude 4.6 Sonnet50% off standard Anthropic prices50% off standard Anthropic prices
Claude 5 Sonnet50% off standard Anthropic prices50% off standard Anthropic prices
Claude 4.6 Opus50% off standard Anthropic prices50% off standard Anthropic prices
Claude 4.7 Opus50% off standard Anthropic prices50% off standard Anthropic prices
Claude 4.8 Opus50% off standard Anthropic prices50% off standard Anthropic prices
Claude 5 Opus50% off standard Anthropic prices50% off standard Anthropic prices
Llama 4$ 0.35$ 1.15
Llama 3.2No published price. ² No published price. ² 
DeepSeek R1No published price. ² No published price. ² 
DeepSeek V3 0324No published price. ² No published price. ² 
DeepSeek V3.2No published price. ² No published price. ² 
Image ModelImage generation cost ¹ 
(Price per image)
Input cost ¹ 
(Price per 1M tokens)
Output cost ¹ 
(Price per 1M tokens)
Google Imagen 3$ 0.04N/AN/A
Google Imagen 4$ 0.06N/AN/A
Gemini Flash Image 2.5N/A$ 0.30$ 30.00 ³ 

 

¹ All prices are published by the vendors and have Stanford discounts already applied if applicable. 

² Models available in preview may be subject to additional vendor rate limits and the charges could change at any time. 

³ A 1024x1024 image consumes 1290 tokens. Per image token count varies by image resolution. For more information on how to calculate tokens, you can refer to Google's documentation.

⁴ Price not discounted off standard prices. 
 

Pricing of any and all models may change at any time, without warning. We will do our best to update this page as soon as vendor updates are made public. Continued usage of models will be subject to the new price published by the vendors at the time of the vendor's change. 

For more information about the AI API Gateway, visit the AI API Gateway service page.

Last modified