Haimaker.ai Logo

Qianfan Ocr Fast

baidu/qianfan-ocr-fast
Chat
Baidu|
VisionReasoning

Qianfan Ocr Fast (baidu/qianfan-ocr-fast) is an AI model from Baidu with a 65,536-token context window and 28,672 max output tokens, priced at $0.68/1M input and $2.81/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Context Window
66K
tokens
Max Output
29K
tokens
Input Price
$0.68
/1M tokens
Output Price
$2.81
/1M tokens

Overview

Qianfan Ocr Fast is a chat model by Baidu. It supports a 66K token context window. Supports vision, reasoning.

Features & Capabilities

Modechat
Context Window65,536 tokens
Max Output28,672 tokens
Function Calling-
VisionSupported
ReasoningSupported
Web Search-
Url Context-

API Usage

from openai import OpenAI

client = OpenAI(
    base_url="https://api.haimaker.ai/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="baidu/qianfan-ocr-fast",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Frequently Asked Questions

What is the context window of Qianfan Ocr Fast?

Qianfan Ocr Fast (baidu/qianfan-ocr-fast) has a 65,536-token context window and supports up to 28,672 output tokens per request.

How much does Qianfan Ocr Fast cost?

Qianfan Ocr Fast is priced at $0.68 per 1M input tokens and $2.81 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does Qianfan Ocr Fast support?

Qianfan Ocr Fast supports vision, reasoning.

How do I use Qianfan Ocr Fast via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "baidu/qianfan-ocr-fast" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.

Use Qianfan Ocr Fast with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Baidu