Haimaker.ai Logo
Google logo

Palm 2 Codechat Bison

google/palm-2-codechat-bison
Chat
Input Price
$0.50
/1M tokens
Output Price
$0.50
/1M tokens

Overview

Google's PaLM 2 CodeChat Bison, a predecessor to Gemini specialized for code-related conversations.

Features & Capabilities

Modechat
Function Calling-
Vision-
Reasoning-
Web Search-
Url Context-

API Usage

from openai import OpenAI

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

response = client.chat.completions.create(
    model="google/palm-2-codechat-bison",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ],
)

print(response.choices[0].message.content)

Use Palm 2 Codechat Bison with the haimaker API

OpenAI-compatible endpoint. Start building in minutes.

Get API Access

More from Google