GPT 4.1 API
Released N/A | 1,047,576 Tokens context | N/A parameters
GPT 4.1 API enables Tool-using assistants (web/file/function flows), Long-context instruction following, and Complex document and UI understanding with vision input. GPT-4.1 is OpenAI's smart non-reasoning model optimized for instruction following and tool calling, with a very large context window. Standout strengths include Very large context window and Low latency and strong instruction following. It is well suited for multimodal assistants that combine image understanding with grounded text reasoning in real-time workflows.
from openai import OpenAI # Initialize the OpenAI client with Qubrid base URL client = OpenAI( base_url="https://platform.qubrid.com/v1", api_key="QUBRID_API_KEY", ) stream = client.chat.completions.create( model="openai/gpt-4.1", messages=[ { "role": "user", "content": [ { "type": "text", "text": "What is in this image? Describe the main elements." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ], max_tokens=4096, temperature=0.7, top_p=1, stream=True ) for chunk in stream: if chunk.choices and chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="", flush=True) print("\n")from openai import OpenAI # Initialize the OpenAI client with Qubrid base URL client = OpenAI( base_url="https://platform.qubrid.com/v1", api_key="QUBRID_API_KEY", ) stream = client.chat.completions.create( model="openai/gpt-4.1", messages=[ { "role": "user", "content": [ { "type": "text", "text": "What is in this image? Describe the main elements." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ], max_tokens=4096, temperature=0.7, top_p=1, stream=True ) for chunk in stream: if chunk.choices and chunk.choices[0].delta.content: print(chunk.choices[0].delta.content, end="", flush=True) print("\n") Enterprise
Platform Integration
Docker Support
Official Docker images for containerized deployments
Kubernetes Ready
Production-grade KBS manifests and Helm charts
SDK Libraries
Official SDKs for Python, Javascript, Go, and Java
Don't let your AI control you. Control your AI the Qubrid way!
Have questions? Want to Partner with us? Looking for larger deployments or custom fine-tuning? Let's collaborate on the right setup for your workloads.
"Qubrid AI reduced our document processing time by over 60% and significantly improved retrieval accuracy across our RAG workflows."
Enterprise AI Team
Document Intelligence Platform
