OpenAI: GPT 4

PhalaQuality: 50/100Unverified
Try in Playground
✗ Vision✗ Reasoning✗ Tool Use✓ Streaming✓ System Messages

Overview

OpenAI: GPT 4 is a efficient model from Phala with a 8K context window. Priced at $0.030/1K input, $0.060/1K output.

ANT Routing Intelligence

Limited routing data available for OpenAI: GPT 4. Intelligence insights will appear as more requests are routed through ANT.

Quick Start

from openai import OpenAI

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

response = client.chat.completions.create(
    model="phala/openai/gpt-4",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)