DeepSeek V4 Flash 0731 is a efficient model from Hugging Face with a 0 context window, supporting function calling. Priced at $0.000060/1K input, $0.000180/1K output.
Limited routing data available for DeepSeek V4 Flash 0731. Intelligence insights will appear as more requests are routed through ANT.
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="huggingface/deepseek-ai/DeepSeek-V4-Flash-0731",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)