Parallel
[Start Building]

# Introducing the Parallel Chat API

Starting today, the Parallel Chat API is generally available in beta - bringing real-time web research to interactive AI applications using our rapidly growing web index.

Tags:Product Release
Reading time: 1 min
Introducing the Parallel Chat API - a low latency web research API for web based LLM completions. The Parallel Chat API returns completions in text and structured JSON format, and is OpenAI Chat Completions compatible.

The Chat API returns OpenAI ChatCompletions compatible streaming text and JSON with the low latency your interactive apps need. It is built with the same obsession for price-performance that we’ve demonstrated with the Task API[Task API]($https://parallel.ai/blog/parallel-task-api).

### Python Code Snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from openai import OpenAI client = OpenAI( api_key="PARALLEL_API_KEY", # Your Parallel API key base_url="https://beta.parallel.ai" # Parallel's API beta endpoint ) response = client.chat.completions.create( model="speed", # Parallel model name messages=[ {"role": "user", "content": "What does Parallel Web Systems do?"} ], response_format={ "type": "json_schema", "json_schema": { "name": "reasoning_schema", "schema": { "type": "object", "properties": { "reasoning": { "type": "string", "description": "Think step by step to arrive at the answer", }, "answer": { "type": "string", "description": "The direct answer to the question", }, "citations": { "type": "array", "items": {"type": "string"}, "description": "Sources cited to support the answer", }, }, }, }, }, ) print(response.choices[0].message.content)```
from openai import OpenAI
 
client = OpenAI(
api_key="PARALLEL_API_KEY", # Your Parallel API key
base_url="https://beta.parallel.ai" # Parallel's API beta endpoint
)
 
response = client.chat.completions.create(
model="speed", # Parallel model name
messages=[
{"role": "user", "content": "What does Parallel Web Systems do?"}
],
response_format={
"type": "json_schema",
"json_schema": {
"name": "reasoning_schema",
"schema": {
"type": "object",
"properties": {
"reasoning": {
"type": "string",
"description": "Think step by step to arrive at the answer",
},
"answer": {
"type": "string",
"description": "The direct answer to the question",
},
"citations": {
"type": "array",
"items": {"type": "string"},
"description": "Sources cited to support the answer",
},
},
},
},
},
)
 
print(response.choices[0].message.content)
```

Last year, we started building our own web crawler and index, recognizing that AIs need native infrastructure to query and reason over the web. The Chat API answers instantly using our index, while the Task API combines our index with real-time web crawling for maximum accuracy and the freshest data. Both APIs return comprehensive citations so you can always verify responses.

Blog image
![](https://cdn.sanity.io/images/5hzduz3y/production/dfe299127abfeba88c55260ef84f9a465d733a65-1572x1080.gif)

##
**Start building.**

Get started in our Developer Platform[Developer Platform]($https://platform.parallel.ai/play/chat) or dive into the documentation[documentation]($https://docs.parallel.ai/resources/chat-api).

Parallel avatar

By Parallel

May 30, 2025

## Related Posts2

Parallel Web Systems introduces Basis with calibrated confidences - a new verification framework for AI web research and search API outputs that sets a new industry standard for transparent and reliable deep research.
Parallel avatar

- [Introducing Basis with Calibrated Confidences ](https://parallel.ai/blog/introducing-basis-with-calibrated-confidences)

Tags:Product Release
Reading time: 4 min
Parallel Web Systems is excited to introduce the Parallel Task API, a state-of-the-art system for automated web research that delivers the highest accuracy on the market on complex deep research tasks.
Parallel avatar

- [Introducing the Parallel Task API](https://parallel.ai/blog/parallel-task-api)

Tags:Product Release,Benchmarks
Reading time: 4 min
![Company Logo](https://parallel.ai/parallel-logo-540.png)

Contact

  • hello@parallel.ai[hello@parallel.ai](mailto:hello@parallel.ai)

Resources

  • About[About](https://parallel.ai/about)
  • Docs[Docs](https://docs.parallel.ai)
  • Blog[Blog](https://parallel.ai/blog)
  • Careers[Careers](https://jobs.ashbyhq.com/parallel)

Info

  • Terms[Terms](https://parallel.ai/terms-of-service)
  • Privacy[Privacy](https://parallel.ai/privacy-policy)
LinkedIn[LinkedIn](https://www.linkedin.com/company/parallel-web/about/)

Parallel Web Systems Inc. 2025