---
title: OpenAI: O1 API | Text Generation | ModelsLab
description: Build with OpenAI: O1 API by Openai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab.com/models/openai/openai-o1.md
canonical: https://modelslab.com/models/openai/openai-o1.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T00:16:15.252513Z
---

OpenAI: o1
---

 [LLMs.txt](https://modelslab.com/models/open_router/openai-o1/llms.txt) [.md](https://modelslab.com/models/openai/openai-o1.md)

openai-o1 openai Closed Source Model $37.500000 / call

OpenAI: o1
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: o1

openai openai-o1

Copy model ID

PricingInput $15.00 / 1M tokens

Output $60.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[Q7](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5 7B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-7B-Instruct)

[Q2](https://modelslab.com/models/together_ai/Qwen-Qwen2-1.5B)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen 2 (1.5B)

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2-1.5B)

[OG](https://modelslab.com/models/open_router/openai-gpt-4.1)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-4.1

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-4.1)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.1-codex-max)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.1-Codex-Max

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.1-codex-max)

[T2](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)[ModelsLab](https://modelslab.com/models/scb10x)

 [Typhoon 2 70B Instruct

Closed Source Model](https://modelslab.com/models/scb10x/scb10x-scb10x-llama3-1-typhoon2-70b-instruct)

[G2](https://modelslab.com/models/together_ai/google-gemma-2b-it)[Together AI](https://modelslab.com/models/together_ai)

 [Gemma 2B It

Closed Source Model](https://modelslab.com/models/together_ai/google-gemma-2b-it)

[LG](https://modelslab.com/models/open_router/meta-llama-llama-guard-3-8b)[Open Router](https://modelslab.com/models/open_router)

 [Llama Guard 3 8B

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-guard-3-8b)

[QC](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-Next-FP8)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 Coder Next Fp8

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-Coder-Next-FP8)

[GG](https://modelslab.com/models/open_router/google-gemma-2-27b-it)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 2 27B

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-2-27b-it)

[AO](https://modelslab.com/models/open_router/allenai-olmo-3-32b-think)[Open Router](https://modelslab.com/models/open_router)

 [AllenAI: Olmo 3 32B Think

Closed Source Model](https://modelslab.com/models/open_router/allenai-olmo-3-32b-think)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-5)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 5

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-5)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.5-397b-a17b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5 397B A17B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.5-397b-a17b)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder-free)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder 480B A35B (free)

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder-free)

[VU](https://modelslab.com/models/open_router/cognitivecomputations-dolphin-mistral-24b-venice-edition-free)[Open Router](https://modelslab.com/models/open_router)

 [Venice: Uncensored (free)

Closed Source Model](https://modelslab.com/models/open_router/cognitivecomputations-dolphin-mistral-24b-venice-edition-free)

[BS](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-lite)[Open Router](https://modelslab.com/models/open_router)

 [ByteDance Seed: Seed-2.0-Lite

Closed Source Model](https://modelslab.com/models/open_router/bytedance-seed-seed-2.0-lite)

[II](https://modelslab.com/models/open_router/inflection-inflection-3-productivity)[Open Router](https://modelslab.com/models/open_router)

 [Inflection: Inflection 3 Productivity

Closed Source Model](https://modelslab.com/models/open_router/inflection-inflection-3-productivity)

[NL](https://modelslab.com/models/open_router/nvidia-llama-3.3-nemotron-super-49b-v1.5)[Open Router](https://modelslab.com/models/open_router)

 [NVIDIA: Llama 3.3 Nemotron Super 49B V1.5

Closed Source Model](https://modelslab.com/models/open_router/nvidia-llama-3.3-nemotron-super-49b-v1.5)

[MM](https://modelslab.com/models/open_router/minimax-minimax-m2-her)[Open Router](https://modelslab.com/models/open_router)

 [MiniMax: MiniMax M2-her

Closed Source Model](https://modelslab.com/models/open_router/minimax-minimax-m2-her)

About OpenAI: O1
---

The latest and strongest model family from OpenAI, o1 is designed to spend more time thinking before responding. The o1 model series is trained with large-scale reinforcement learning to reason...

### Technical Specifications

Model IDopenai-o1CategoryLLM ModelsTaskText GenerationPrice$37.500000 per million tokensAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: O1 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-o1",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/openai/openai-o1/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

OpenAI: O1 API costs $37.500000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

OpenAI: O1 FAQ
---

### What is OpenAI: O1?

The latest and strongest model family from OpenAI, o1 is designed to spend more time thinking before responding. The o1 model series is trained with large-scale reinforcement learning to reason...

### How do I use the OpenAI: O1 API?

You can integrate OpenAI: O1 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-o1" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does OpenAI: O1 cost?

OpenAI: O1 costs $37.500000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the OpenAI: O1 model ID?

The model ID for OpenAI: O1 is "openai-o1". Use this ID in your API requests to specify this model.

### Does OpenAI: O1 have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: O1 and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*