google

Google: Gemini 1.5 Flash 8B 001

models/Gemini 1.5 Flash-8B 001

Gemini Flash 1.5 8B is optimized for speed and efficiency, offering enhanced performance in small prompt tasks like chat, transcription, and translation. With reduced latency, it is highly effective for real time and large scale operations. This model focuses on cost effective solutions while maintaining high quality results.
Currency$USD
Input$0.04
Output$0.15
Context window1M

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configgoogle/gemini-1.5-flash-8b-001
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="google/gemini-1.5-flash-8b-001",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])