gemini-2.5-flash

Red Neuronal

Bip-bup, escribiendo texto para ti...
pc1pc2pc3pc4
Inicio

/

Modelos

/

gemini-2.5-flash
65 535

Longitud máxima de respuesta

(en tokens)

1 048 576

Tamaño del contexto

(en tokens)

0,3 $

Costo del prompt

(por 1M tokens)

2,5 $

Costo de la respuesta

(por 1M tokens)

0 $

Prompt de imagen

(por 1K tokens)

Обзор
Провайдеры
API
bothub
BotHub: Попробуйте чат GPT бесплатноbot

Осталось Caps: 0 CAPS
Proveedores gemini-2.5-flashEn Bothub puedes elegir tus propios proveedores para las solicitudes. Si no has hecho una selección, encontraremos automáticamente proveedores adecuados que puedan manejar el tamaño y los parámetros de tu solicitud.
Пример кода и API для gemini-2.5-flashМы предлагаем полный доступ к API OpenAI через наш сервис. Все наши конечные точки полностью соответствуют конечным точкам OpenAI, их можно использовать как с плагинами, так и при разработке собственного программного обеспечения через SDK.Создать API ключ
Javascript
Python
Curl
import OpenAI from 'openai';
const openai = new OpenAI({
  apiKey: '<your bothub access token>',
  baseURL: 'https://bothub.chat/api/v2/openai/v1'
});


// Sync - Text generation 

async function main() {
  const chatCompletion = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'gemini-2.5-flash',
  });
} 

// Async - Text generation 

async function main() {
  const stream = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'gemini-2.5-flash',
    stream: true
  });

  for await (const chunk of stream) {
    const part: string | null = chunk.choices[0].delta?.content ?? null;
  }
} 
main();

Cómo funciona gemini-2.5-flash?

Los bothubs recopilan información...empty